<?if ( null != $this->list):?>
<div class="recent-guest-title"> 
	<div class="part-title"> 
		<h1>您可能认识的人<ins class="new-icon" ></ins></h1>
		<span class="more">
			<span class="fixie6png left-arrow <?php if(!$this->prepage):?>left-arrow-gray<?php endif;?>" <?php if($this->prepage):?>onclick="javascript:Friends.loadRecommend(<?=$this->prepage;?>);" title="上一页"<?php endif;?>></span>
			<span class="fixie6png right-arrow <?php if(!$this->nextpage):?>right-arrow-gray<?php endif;?>" <?php if($this->nextpage):?>onclick="javascript:Friends.loadRecommend(<?=$this->nextpage;?>);" title="下一页"<?php endif;?>></span>
			<a href="/~friends.armory.index/">更多</a>
		</span> 
	</div> 
</div> 
<div class="recent-guest-content" style="position:relative">
<?foreach($this->list as $row):?>
<dl class="tj-friend">
	<dt><div class="avatar50"><a href="/?uid=<?=$row['id']?>"><img src="<?= avatar_util_saver::get_path($row['id'], 50)?>" width="50px" height="50px" /></a> </div></dt>
	<dd>
		<a href="/?uid=<?=$row['id']?>" target="_blank" <?if ($row['is_check']):?>class="a-id-right dynamic-name"<?endif;?>><?=htmlspecialchars(mb_strimwidth($row['username'] , 0 , 12, '...', 'utf-8'))?></a>
		<?if ($row['is_check']):?><i class="fixie6png star-icon" title="已通过魔兽身份认证"></i><?endif;?>
	</dd>
	<dd>角色：<span><?=$row['cname']?></span></dd>
	<dd>职业：<span><?=$row['class']?></span></dd>
	<dd class="add"><span class="fixie6png addfriend-icon"></span>
		<a href="javascript: Friends.addRecommend(<?= $row['id'];?>, <?if($this->role):?>'我是<?=$this->role['region']?>-<?=$this->role['realm']?>-<?=$this->role['guild']?>公会的<?=$this->role['cname']?>,希望能和你成为朋友。'<?else:?>''<?endif;?>);"  >加为好友</a>
		<span><a href="/~armory.index.my_armory/uid/<?= $row['id'];?>/relationId/<?=$row['relationId']?>" target="_blank">[角色信息]</a></span>
	</dd>
</dl>
<?endforeach; ?>
</div>
<?endif;?>